package com.oversea.models;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name = "admissionfator")
@org.hibernate.annotations.Entity(dynamicUpdate = true)
public class Admissionfator extends BaseModel {
	private static final long serialVersionUID = -5404056504167584942L;

	private School school;  
	private int gpa; // 中学成绩   ：1很重要   2重要   3考虑    4不考虑   (所有字段都一样)
	private int raning; // 班级排名
	private int recommendationLetter; // 推荐信
	private int standardTestScore; // 标准考试成绩
	private int thesis; // 论文
	private int interview; // 面试
	private int extraCurriculum; // 课外活动
	private int specialty; // 能力专长
	private int personality; // 性格
	private int alumni; // 校友关系
	private int hometown; // 居住地区
	private int religion; // 宗教
	private int minority; // 少数民族
	private int volunteerWork; // 义工
	private int experience; // 工作经历

	@OneToOne(mappedBy="admissionfator", fetch=FetchType.LAZY)
	public School getSchool() {
		return school;
	}

	public void setSchool(School school) {
		this.school = school;
	}

	public int getGpa() {
		return gpa;
	}

	public void setGpa(int gpa) {
		this.gpa = gpa;
	}

	public int getRaning() {
		return raning;
	}

	public void setRaning(int raning) {
		this.raning = raning;
	}

	public int getThesis() {
		return thesis;
	}

	public void setThesis(int thesis) {
		this.thesis = thesis;
	}

	public int getInterview() {
		return interview;
	}

	public void setInterview(int interview) {
		this.interview = interview;
	}

	public int getSpecialty() {
		return specialty;
	}

	public void setSpecialty(int specialty) {
		this.specialty = specialty;
	}

	public int getPersonality() {
		return personality;
	}

	public void setPersonality(int personality) {
		this.personality = personality;
	}

	public int getAlumni() {
		return alumni;
	}

	public void setAlumni(int alumni) {
		this.alumni = alumni;
	}

	public int getHometown() {
		return hometown;
	}

	public void setHometown(int hometown) {
		this.hometown = hometown;
	}

	public int getReligion() {
		return religion;
	}

	public void setReligion(int religion) {
		this.religion = religion;
	}

	public int getMinority() {
		return minority;
	}

	public void setMinority(int minority) {
		this.minority = minority;
	}

	public int getExperience() {
		return experience;
	}

	public void setExperience(int experience) {
		this.experience = experience;
	}

	public int getRecommendationLetter() {
		return recommendationLetter;
	}

	public void setRecommendationLetter(int recommendationLetter) {
		this.recommendationLetter = recommendationLetter;
	}

	public int getStandardTestScore() {
		return standardTestScore;
	}

	public void setStandardTestScore(int standardTestScore) {
		this.standardTestScore = standardTestScore;
	}

	public int getExtraCurriculum() {
		return extraCurriculum;
	}

	public void setExtraCurriculum(int extraCurriculum) {
		this.extraCurriculum = extraCurriculum;
	}

	public int getVolunteerWork() {
		return volunteerWork;
	}

	public void setVolunteerWork(int volunteerWork) {
		this.volunteerWork = volunteerWork;
	}

}
